package geek.basic;
import java.util.Scanner;

public class check_odd_even {
    // (number % 2 ==0)
    public static void main(String[] args) {
        int num;
        System.out.print("Enter an Integer number: ");

        Scanner sc = new Scanner(System.in);
        num = sc.nextInt();
        sc.close();
        if (num % 2 == 0)
            System.out.println(num + " is an even number.");
        else
            System.out.println(num + " is an odd number.");

    }
}
